package Homework;
//会员类
public class Member {
	private String name;//会员姓名
	private String phoneNum;//会员手机号
	private String cardId;//会员卡号
	private String password;//密码
	private int score;//积分
	private String registerDate;//注册日期
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPhoneNum() {
		return phoneNum;
	}
	public void setPhoneNum(String phoneNum) {
		this.phoneNum = phoneNum;
	}
	public String getCardId() {
		return cardId;
	}
	public void setCardId(String cardId) {
		this.cardId = cardId;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public int getScore() {
		return score;
	}
	public void setScore(int score) {
		this.score = score;
	}
	public String getRegisterDate() {
		return registerDate;
	}
	public void setRegisterDate(String registerDate) {
		this.registerDate = registerDate;
	}
	public Member(String name, String phoneNum, String cardId, String password, int score, String registerDate) {
		super();
		this.name = name;
		this.phoneNum=phoneNum;
		this.cardId = cardId;
		this.password = password;
		this.score = score;
		this.registerDate = registerDate;
	}
	public Member() {
		super();
	}
	@Override
	public String toString() {
		return "会员姓名：" + name + ",会员手机号："+phoneNum+", 会员卡号：" + cardId  + ", 积分：" + score
				+ ", 注册日期：" + registerDate;
	}

	
	
	
	
	
}
